<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> <span>
                    			<!-- 管理员头像 -->
                        <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                         </span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear"> <span class="block m-t-xs"> 
                        
                        <strong class="font-bold"><c:out value="${session.existUser.username }"></c:out></strong>
                         </span> 
                         <c:choose>
                         <c:when test="${session.existUser.userState == 0 }">
                         <span class="text-muted text-xs block">普通管理员 <b class="caret"></b></span>
                         </c:when>
                         <c:otherwise>
                         <span class="text-muted text-xs block">高级管理员 <b class="caret"></b></span>
                         </c:otherwise>
                         </c:choose> 
                         </span> </a>
                       
                    </div>
                    <div class="logo-element">
                         	S+
                    </div>
                </li>
                
                
                
               <!-- 菜单选项 -->
		       <li>
		           <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label">设备信息管理 </span><span class="fa arrow"></span></a>
		           <ul class="nav nav-second-level collapse">
		               
		               <li><a href="${pageContext.request.contextPath }/equipment_info.action">设备总信息</a></li>
		              
		           </ul>
		       </li>
		       
		       
		       <li>
		           <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label">设备入库管理 </span><span class="fa arrow"></span></a>
		           <ul class="nav nav-second-level collapse">
		               
		               <li><a href="${pageContext.request.contextPath }/equipment_register.action">设备入库</a></li>
		              
		           </ul>
		       </li>
		       
		       
		        <li>
		           <a href="#"><i class="fa fa-pencil-square"></i> <span class="nav-label">设备维修信息管理 </span><span class="fa arrow"></span></a>
		           <ul class="nav nav-second-level collapse">
		                <li><a href="${pageContext.request.contextPath }/repair_registerPage.action">设备维修登记</a></li>
		               <li><a href="${pageContext.request.contextPath }/repair_find.action">设备维修查询</a></li>
		               
		              
		           </ul>
		       </li>
		       
		        <li>
		           <a href="#"><i class="fa fa-pencil"></i> <span class="nav-label">设备报废信息管理 </span><span class="fa arrow"></span></a>
		           <ul class="nav nav-second-level collapse">
		                <li><a href="${pageContext.request.contextPath }/scrap_register.action">设备报废登记</a></li>
		               <li><a href="${pageContext.request.contextPath }/scrap_findPage.action">设备报废查询</a></li>
		              
		           </ul>
		       </li>
		       
		        <li>
		           <a href="#"><i class="fa fa-list-alt"></i> <span class="nav-label">设备申请信息管理 </span><span class="fa arrow"></span></a>
		           <ul class="nav nav-second-level collapse">
		               
		               <li><a href="${pageContext.request.contextPath }/application_submitMessage.action">设备申请表</a></li>
		               <li><a href="${pageContext.request.contextPath }/application_Message.action">申请表信息</a></li>
		              
		           </ul>
		       </li>   
		       
		       <c:if test="${session.existUser.userState == 1 }">
		       <li>
		           <a href="#"><i class="fa fa-list-alt"></i> <span class="nav-label">用户管理 </span><span class="fa arrow"></span></a>
		           <ul class="nav nav-second-level collapse">
		               
		               <li><a href="${pageContext.request.contextPath }/user_manage.action">用户信息</a></li>
		              
		           </ul>
		       </li> 
		      </c:if>
		      
           </ul>
           
           
		<div class="modal inmodal" id="myModal2" tabindex="-1" role="dialog" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content animated flipInY">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title">模板标题</h4>
                        <small class="font-bold">Lorem Ipsum只是印刷排版业虚拟文本。</small>
                    </div>
                    <div class="modal-body">
                        <p><strong>Lorem Ipsum只是虚设</strong>印刷排版行业的文本。Lorem存有一直是行业的标准虚拟文本自从16世纪，当未知带一个厨房打印机类型和炒它做字体样本。它不仅存活了五个世纪，而且还跨越了电子排版，剩余基本不变。</p>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                        <button type="button" class="btn btn-primary">存在</button>
                    </div>
                </div>
            </div>
         </div>
		

       </div>
   </nav>